package config

import (
	"github.com/zeromicro/go-zero/rest"
)

type Config struct {
	rest.RestConf
	Mysql struct {
		DataSource string
	}

	Email struct {
		Addr          string
		UserName      string
		Host          string
		EmailPassword string
	}

	Cos struct {
		Addr      string
		SecretID  string
		SecretKey string
	}

	CodeLength         int
	CodeExpire         int
	PageSize           int
	TokenExpire        int64
	RefreshTokenExpire int64
}
